package com.antdesignbackend.backend.form.feedProduction.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 饲料和饲料添加剂生产企业检查记录表
 *
 * @author 林宇杰
 * @email feedProduction
 * @date 2020-08-24 09:56:00
 */

@Data
@TableName(value = "t_feedproduction")
public class FeedProduction implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "Id",type = IdType.AUTO)
	private Integer id;

	//企业名称
	@TableField(value = "EnterpriseName")
	private String enterpriseName;
	//企业id
	@TableField(value = "EnterpriseId")
	private Integer enterpriseId;
	//证号
	@TableField(value = "CertificateNo")
	private String certificateNo;
	//生产地址
	@TableField(value = "Address")
	private String address;
	//法定代表人
	@TableField(value = "LegalPerson")
	private String legalPerson;
	//产品类别
	@TableField(value = "ProductCategory")
	private String productCategory;
	//联系电话
	@TableField(value = "Phone")
	private String phone;
	//年产量
	@TableField(value = "YearNumber")
	private Integer yearNumber;
	//企业人数
	@TableField(value = "EnterpriseNumber")
	private Integer enterpriseNumber;
	//用药情况
	@TableField(value = "DrugUse")
	private String drugUse;
	//生产及检化验设备情况
	@TableField(value = "Equipment")
	private String equipment;
	//各项记录情况
	@TableField(value = "RecordSituation")
	private String recordSituation;
	//持证上岗情况
	@TableField(value = "WorkSituation")
	private String workSituation;
	//标签与包装情况
	@TableField(value = "LabelSituation")
	private String labelSituation;
	//其它情况
	@TableField(value = "OtherSituation")
	private String otherSituation;
	//需要整改项目
	@TableField(value = "Rectification")
	private String rectification;
	//企业代表签字
	@TableField(value = "Sign")
	private String sign;
	//整改日限
	@TableField(value = "DayLimit")
	private Integer dayLimit;
	//检查人员及执法证件号
	@TableField(value = "EnforcementNo")
	private String enforcementNo;
	//检查部门
	@TableField(value = "Department")
	private String department;
	//检查部门电话
	@TableField(value = "DepartmentPhone")
	private String departmentPhone;
	//检查日期
	@TableField(value = "InspectionDate")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date inspectionDate;
	//创建人
	@TableField(value = "CreateBy")
	private Integer createBy;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "CreateTime")
	private Date createTime;
}
